<div class="user-r-title clearfix">
    <div class="common-title f-l">
        <a href="javascript:void(0)" class="field">{$data.page_title}</a>
    </div>
</div>
<div class="user-r-content clearfix j-ajax-page">
    <div class="search clearfix" ms-important="vm-search">
        <div class="search-list">
            <span>时间</span>
            <input type="text" ms-duplex="@search_data.begin_time" id="begin_time" placeholder="{$data.begin_time}"> <span>-</span> <input type="text" ms-duplex="@search_data.end_time" id="end_time" placeholder="{$data.end_time}">
        </div>
        <a href="javascript:void(0)" class="btn btn-primary btn-circle" ms-click="search">搜索</a>
    </div>
    <div class="ajax-block">
        <table class="uc-table">
            <tr style="border-bottom:none">
                <td colspan="3" style="text-align:left;padding-left:15px;">主播：<span style="padding-right:10px;">{$data.user.nick_name} </span><span style="padding-right:10px;">直播时长(秒)： {$data.sum} </span></td>
            </tr>
        </table>
        <table class="uc-table">
            <thead>
                <tr>
                    <th>开始时间</th>
                    <th>结束时间</th>
                    <th>直播时长(秒)</th>
                </tr>
            </thead>
            <tbody>
                {foreach from="$data.list" item="l_item" }
                <tr>
                    <td>{function name="to_date" v=$l_item.begin_time}</td>
                    <td>{function name="to_date" v=$l_item.end_time}</td>
                    <td>{$l_item.len_time}</td>
                </tr>
                {foreachelse}
                <tr>
                    <td colspan="3">
                        <span>暂无数据</span>
                    </td>
                </tr>
                {/foreach}
            </tbody>
        </table>
        <div class="m-page clearfix">
            <div class="m-page-con">
                {$data.page}
            </div>
        </div>
    </div>
</div>
